package mylab.starters.security.utils;

import com.google.common.collect.Lists;
import lombok.experimental.UtilityClass;

import java.util.List;

@UtilityClass
public class Util {

    public List<String> convertList(List<String> src) {
        if (src == null || src.size() == 0) {
            return Lists.newArrayList("*");
        }
        return src;
    }

}
